﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Kavaa.Framework.Datalayer
{
    /// <summary>
    /// Section de configuration du noyau de l'application
    /// </summary>
    public sealed class ServiceSection : ConfigurationSection
    {

        /// <summary>
        /// Chaine de connexion sur la base de données de synchronisation.
        /// </summary>
        [ConfigurationProperty("DatabaseConnectionString", DefaultValue = "", IsRequired = true)]
        public string DatabaseConnectionString
        {
            get
            {
                return (string)this["DatabaseConnectionString"];
            }
            set
            {
                this["DatabaseConnectionString"] = value;
            }
        }

    }
}